From 45308adee286f1bb5bf17c604cfbf18a4399de3d Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sun, 21 Sep 2008 08:10:48 +0000 Subject: [PATCH] Debugging code left in, probably needs an option of some kind. --- includes/db/Database.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/db/Database.php b/includes/db/Database.php index 83cf368fa6..0bd77eabda 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -2510,12 +2510,12 @@ border=\"0\" ALT=\"Google\"> $text = str_replace( '$1', $this->error, $noconnect ); - global $wgShowExceptionDetails; + /* if ( $GLOBALS['wgShowExceptionDetails'] ) { $text .= '

Backtrace:

' . nl2br( htmlspecialchars( $this->getTraceAsString() ) ) . "

\n"; - } + }*/ if($wgUseFileCache) { if($wgTitle) { -- 2.20.1